public class Example5_13 {
   public static void main(String[] agrs) {
       Simulator simulator = new Simulator();
	   simulator.playSound(new Dog());
	   simulator.playSound(new Cat());
	   simulator.playSound(new Tiger());
   }
}
